package com.alphaking.main;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

import org.apache.catalina.ha.backend.CollectedInfo;
import org.apache.jasper.tagplugins.jstl.core.ForEach;

import com.alphaking.Jdbc.JdbcCollections;
import com.alphaking.Jdbc.JdbcComments;
import com.alphaking.Jdbc.JdbcReply;
import com.alphaking.Jdbc.JdbcShare;
import com.alphaking.Jdbc.JdbcUpvote;
import com.alphaking.Jdbc.JdbcUtils;
import com.alphaking.bean.Collection;
import com.alphaking.bean.Comments;
import com.alphaking.bean.Reply;
import com.alphaking.bean.Share;
import com.alphaking.bean.Upvote;
import com.alphaking.bean.User;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;

public class Main {

	public static void main(String[] args) {

		JdbcUtils.getConnection();

		List<Upvote> upvotes = JdbcUpvote.getUpvote(6);

		for (Upvote upvote : upvotes) {

			System.out.println(upvote.getUpvoteAccount());
			System.out.println(upvote.getUpvoteShareid());
		}

	}
}
